<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<title>Avance CMS Demo: {$title}</title>
	<meta name="keywords" content="{keywords text=$content}" />
	{javascript}
	<style type="text/css">
		* { margin:0px; padding:0px; border:0px; }
		body { padding:15px; }
		.master { border-collapse:collapse; margin-left: auto; margin-right: auto; margin-top:20px; width:100%; }
		.master h1 { font-size:16px; }
		.master .title { background-color:#CCC; }
		.master td { border:1px solid #666; padding:8px; font-size:12px; }
		.master table { border-collapse:collapse; }
		.master table td { border:1px solid #CCC; font-size:12px; padding:3px; font-weight:normal; background-color:#F0F0F0; }
	</style>

</head>
<body>
<table class="master" align="center">
<tr>
	<td colspan="2" class="title"><h1>Avance CMS Default Page</h2></td>
</tr>
<tr>
	<td>Admin Link<br />($admin_link)</td>
	<td>{admin_link} (<a href="{admin_link}" target="_blank">Open</a>)</td>
</tr>
<tr>
	<td>Host Url<br />($host)</td>
	<td>{$host}</td>
</tr>

<tr>
	<td>Sprachen<br />($languages)</td>
	<td>
		<table>
		<tr>
			<td><strong>Titel ($title)</strong></td>
			<td><strong>Lang-Code ($i18n)</strong></td>
			<td><strong>Link ($link)</strong></td>
		</tr>
		{foreach from=$languages item=item}
		<tr>
			<td>{$item.title}</td>
			<td>{$item.i18n}</td>
			<td>{$item.link}</td>
		</tr>
		{/foreach}
		</table>
	</td>
</tr>
<tr>
	<td>Navigation<br />($nav)</td>
	<td>
		<table>
			<tr>
				<td><strong>Array Key ($key)</strong></td>
				<td><strong>Array ($item)</strong></td>
			</tr>
			{foreach from=$nav item=item key=key}
			<tr>
				<td>{$key}</td>
				<td>
					<table>
					<tr>
						<td colspan="2"><strong>ID ($id)</strong></td>
						<td><strong>Parent ($parent)</strong></td>
						<td><strong>Link ($link)</strong></td>
						<td><strong>Rewrite-Name ($rewrite)</strong></td>
						<td><strong>Title Name ($title)</strong></td>
						<td><strong>Category ($cat)</strong></td>
						<td><strong>Subpage Entrys ($sub)</strong></td>
					</tr>
					{foreach from=$item item=item2}
					<tr>
						<td><a href="{$item2.link}">switch to</a></td>
						<td>{$item2.id}</td>
						<td>{$item2.parent}</td>
						<td>{$item2.link}</td>
						<td>{$item2.rewrite}</td>
						<td>{$item2.title}</td>
						<td>{$item2.cat}</td>
						<td>{$item2.sub|var_dump}</td>
					</tr>
					{/foreach}
					</table>
				</td>
			</tr>
			{/foreach}
		</table>
	</td>
</tr>
</table>
<table class="master">
<tr>
	<td colspan="2" class="title"><h1>Current CMS Page Object Information</h1></td>
</tr>
<tr>
	<td>Current CMS Page Title<br />($title)</td>
	<td>{$title}</td>
</tr>
<tr>
	<td>Current Rewirte Name<br />($this_page)</td>
	<td>{$this_page}
</tr>
<tr>
	<td>Cms Page Content<br />($content)</td>
	<td>{$content}</td>
</tr>
</table>

</body>
</html>